package cn.miaoyao.miaoyaoms.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2023-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_limits")
@ApiModel(value="Limits对象", description="")
@NoArgsConstructor
@AllArgsConstructor
public class Limits implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
      @TableId(value = "uid", type = IdType.ASSIGN_ID)
    private Integer uid;

    @ApiModelProperty(value = "添加用户(1:允许添加，0:不允许添加)")
    private Integer adduser;

    @ApiModelProperty(value = "删除用户（1：可删除，0：不可删除）")
    private Integer deleteuser;

    @ApiModelProperty(value = "修改苗药信息（1：可修改，0：不可修改）")
    private Integer updatemiaosample;

    @ApiModelProperty(value = "删除苗药信息（1：可删除，0：不可删除）")
    private Integer deletemiaosample;

    @ApiModelProperty(value = "添加苗药信息（1：可添加，0：不可添加）")
    private Integer addmiaosample;

    @ApiModelProperty(value = "查询苗药信息（1：可查询，0：不可查询）")
    private Integer querymiaosample;

    @ApiModelProperty(value = "修改用户权限（1：可修改，0：不可修改）")
    private Integer updatepermission;
    @ApiModelProperty(value = "用户状态")
    @TableLogic(delval ="1",value ="0" )
    private Integer deleted;


}
